import type { IColumnsOption } from 'vc';

export function useTable() {
  const totalNum = ref(0);

  const tableData = ref<any[]>([]);

  const columns = ref<IColumnsOption[]>([]);

  return {
    totalNum,
    tableData,
    columns
  };
}
